home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19970104-19970326
/
000397_news@columbia.edu _Mon Mar 10 17:08:27 1997.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA09966
for <kermit.misc@watsun.cc.columbia.edu>; Mon, 10 Mar 1997 17:08:27 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id RAA22786
for kermit.misc@watsun; Mon, 10 Mar 1997 17:08:26 -0500 (EST)
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: C-Kermit 8 databits and parity odd
Date: 10 Mar 1997 22:08:22 GMT
Organization: Columbia University
Lines: 47
Message-ID: <5g20om$2j9$1@apakabar.cc.columbia.edu>
References: <Pine.LNX.3.95.970310125929.3360E-100000@jd>
NNTP-Posting-Host: watsun.cc.columbia.edu
Xref: news.columbia.edu comp.protocols.kermit.misc:6731
In article <Pine.LNX.3.95.970310125929.3360E-100000@jd>,
David Dyck <dcd@tc.fluke.com> wrote:
: I want to achive the same as
: stty 1200 raw parenb parodd cs8
:
: with c-kermit
:
: When I set parity odd,
: the show communications command reports that
: parity is odd (as expected),
: but when I attempt to also set terminal bytesize 8,
: parity is set back to none!
:
: I was attempting to log 8data bits with odd parity
: to a file (e.g the data was being transmitted as 8 databits
: PLUS the parity bit)
:
: on Linux, I was able to execute the command
: stty parenb parodd
: at the terminal that kermit was communicating
: and effect the desired communications, but
: that is only temporary.
:
: Is there a way to get kermit into 8 data bits + parity mode?
:
Presently, no, at least not by Kermit command. In fact, this is the
first request we have ever had for this capability in C-Kermit.
Given the complexity of the underlying code (look through the tty
mode-setting routines in ckutio.c), and the fact that the tty modes
are probably the most fundamental aspect of UNIX C-Kermit's operation,
any changes in this area are likely to cause more problems than they
address. It's not even clear to what extent different UNIX (or other
OS) versions support the notion of 8 data bits plus parity, and what
the effect might be of trying to set this configuration on systems
that did not support it.
I'll put this on the list of things to look at for a future release,
but for now I think your workaround is the best approach. You can
make it easier with macro, something like:
define xconnect run stty parenb parodd < \v(line)
connect
and then always use "xconnect" rather than "connect".
- Frank